package com.xunce.xcworkservice.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

@Data
@Schema(name = "LoginDto", description = "登录信息")
public class LoginDto {


    @NotBlank(message = "用户名不能为空")
    @Schema(name = "loginName", description = "登录账号")
    private String loginName;

    @NotBlank(message = "密码不能为空")
    @Schema(name = "password", description = "登录密码")
    private String password;
}
